package com.taysear.domain;

import java.io.Serializable;

@SuppressWarnings("serial")
public class UserRole implements Serializable{
	
	private Integer userRoleId;
	private Role role;
	private User user;
	private String username;
	
	public Integer getUserRoleId() {
		return userRoleId;
	}
	public void setUserRoleId(Integer userRoleId) {
		this.userRoleId = userRoleId;
	}
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}

	@Override
    public String toString() {
        return username;
    }
}
